package org.southyin.aop;

import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
public class MyPointcut {
    @Pointcut("execution(* org.southyin.aop.AopTest.test2())") // 定义切点
    public void a(){}
}
